package com.kgcx.coupon.vo.ad;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;
import java.util.List;

/**
 * @author panjin.
 * @date 2017/12/18.
 */
@Getter
@Setter
@ToString
@ApiModel(value = "AdvertReqVO", description = "广告请求对象")
public class AdvertReqVO {

    /**
     * 广告名称
     */
    @ApiModelProperty(value = "name", example = "早间轮播广告名称", required = true)
    private String name;

    /**
     * 广告位 1-用户端启动页 2-用户端首页轮播 3-司机端启动页
     */
    @ApiModelProperty(value = "place", example = "1", required = true)
    private Byte place;

    /**
     * 状态 0-停用 1-启用
     */
    @ApiModelProperty(value = "status", example = "0")
    private Byte status;

    /**
     * 广告有效期开始时间（时间戳）
     */
    @ApiModelProperty(value = "effectiveStartTime", example = "1513526400000", required = true)
    private Date effectiveStartTime;

    /**
     * 广告有效期结束时间（时间戳）
     */
    @ApiModelProperty(value = "effectiveEndTime", example = "1513612800000", required = true)
    private Date effectiveEndTime;

    /**
     * 图片地址列表
     */
    @ApiModelProperty(value = "adImageList", required = true)
    private List<AdImage> adImageList;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "createId", example = "10")
    private Integer createId;
}
